#ifndef GEOMETRYNODES_H
#define GEOMETRYNODES_H

#include <scene/SceneNode.h>
#include <base/d3d.h>

class Matrix : public SceneNode {
public:
  Matrix();
  Matrix(const Matrix * rhs);
 
  long preDraw(Device * device);
  long postDraw(Device * device);

  SceneNode * copy() const;

  SceneNode * select(const D3DXVECTOR4 & v);

  D3DXMATRIX matrix;

private:
};

class Perspective : public SceneNode{
public:
  Perspective();
  Perspective(const Perspective * rhs);

  long preDraw(Device * device);

  SceneNode * copy() const;
  
  SceneNode * select(const D3DXVECTOR4 & v);

  float width;
  float height;
};

#endif
